package com.wm.task.vo;

import java.sql.Time;
import java.time.LocalDate;

public class User {
    private int id; // ID
    private String phoneNum; //手机号
    private String pass;  //密码
    private String name;  //姓名
    private Time time;  //注册时间
    private String secretQuestion;  //密保问题
    private String secretAnswer;  //密保答案

    public User() {
    }

    public User(int id, String phoneNum, String pass, String name, Time time, String secretQuestion, String secretAnswer) {
        this.id = id;
        this.phoneNum = phoneNum;
        this.pass = pass;
        this.name = name;
        this.time = time;
        this.secretQuestion = secretQuestion;
        this.secretAnswer = secretAnswer;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Time getTime() {
        return time;
    }

    public void setTime(Time time) {
        this.time = time;
    }

    public String getSecretQuestion() {
        return secretQuestion;
    }

    public void setSecretQuestion(String secretQuestion) {
        this.secretQuestion = secretQuestion;
    }

    public String getSecretAnswer() {
        return secretAnswer;
    }

    public void setSecretAnswer(String secretAnswer) {
        this.secretAnswer = secretAnswer;
    }
}
